package cn.iocoder.yudao.module.wrzj.controller.admin.wrzjuser.vo;

import cn.iocoder.yudao.framework.common.pojo.PageParam;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.ToString;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 伟人之家-用户分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class WrzjUserPageReqVO extends PageParam {

    @Schema(description = "微信openID")
    private String openid;

    @Schema(description = "手机号")
    private String mobile;

    @Schema(description = "是否被授权使用本小程序", example = "true")
    private Boolean authorized;

    @Schema(description = "状态", example = "2")
    private Integer status;

    @Schema(description = "注册 IP")
    private String registerIp;

    @Schema(description = "伟人好感度")
    private String score;

    @Schema(description = "最后登录IP")
    private String loginIp;

    @Schema(description = "最后登录时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] loginDate;

    @Schema(description = "用户昵称", example = "芋艿")
    private String nickname;

    @Schema(description = "用户姓名")
    private String name;

    @Schema(description = "用户性别")
    private Integer sex;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;

}
